
<!DOCTYPE html>
<html lang="zxx">
<!-- Head -->
<style>
    #login {
        width: 400px;
        height: 480px;
        margin: 150px auto auto auto;
        padding: 60px 40px;
        background: white;
        color: black;
    }

</style>
<head>
    <title>“开饭啦”食堂订餐系统</title>
    <!-- Meta-Tags -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <meta name="keywords" content="Key Login Form a Responsive Web Template, Bootstrap Web Templates, Flat Web Templates, Android Compatible Web Template, Smartphone Compatible Web Template, Free Webdesigns for Nokia, Samsung, LG, Sony Ericsson, Motorola Web Design">
    <script>
        addEventListener("load", function () {
            setTimeout(hideURLbar, 0);
        }, false);

        function hideURLbar() {
            window.scrollTo(0, 1);
        }
    </script>
    <!-- //Meta-Tags -->
    <!-- Index-Page-CSS -->
    <link rel="stylesheet" href="__STATIC__/css/style.css" type="text/css" media="all">
    <!-- //Custom-Stylesheet-Links -->
    <!--fonts -->
    <!-- //fonts -->
    <link rel="stylesheet" href="__STATIC__/css/font-awesome.min.css" type="text/css" media="all">
    <!-- //Font-Awesome-File-Links -->

    <!-- Google fonts -->
    <link href="//fonts.googleapis.com/css?family=Quattrocento+Sans:400,400i,700,700i" rel="stylesheet">
    <link href="//fonts.googleapis.com/css?family=Mukta:200,300,400,500,600,700,800" rel="stylesheet">
    <!-- Google fonts -->

</head>
<!-- //Head -->
<!-- Body -->

<body>

<section class="main">
    <div class="layer">

        <div class="bottom-grid">
            <div class="logo">
                <h1> <a href="login.html"><span class="fa fa-key"></span> 安信工食堂</a></h1>
            </div>
            <div class="links">
                <ul class="links-unordered-list">
                    <li class="active">
                        <a href="{:url('login/login')}" class="">登录</a>
                    </li>
                    <li class="">
                        <a href="{:url('login/register')}" class="">注册</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="content-w3ls">
            <div id="login">
            <div class="text-center icon">
                <span class="fa fa-html5"></span>
            </div>
            <div class="content-bottom">
                <form id="loginform" action="dologin" method="post">

                    <div class="field-group">
                        <span class="fa fa-user" aria-hidden="true"></span>
                        <div class="wthree-field">
                            <input  type="text"
                                   id="username" name="username" placeholder="Username"
                                    style="color: black;" required>
                        </div>
                    </div>
                    <div class="field-group">
                        <span class="fa fa-lock" aria-hidden="true"></span>
                        <div class="wthree-field">
                            <input id="password" name="password" type="password" placeholder="Password">
                        </div>
                    </div>
                    <div class="field-group">
                        <span class="fa fa-list" aria-hidden="true"></span>
                        <div class="wthree-field">
                            <input class="layui-input layui-input-inline" type="text" name="code" placeholder="验证码">
                        </div>
                    </div>
                    <div style="text-align: center"><img onclick="changeCode(event)" src="{:captcha_src()}" alt="captcha" /></div>
                    <div class="wthree-field">
                        <button type="submit" class="btn">登录</button>
                    </div>
                    <ul class="list-login">
                        <li class="switch-agileits">
                            <label class="switch">
                                <input type="checkbox">
                                <span class="slider round"></span>
                                记住账号
                            </label>
                        </li>
                        <li>
                            <a href="#" class="text-right">忘记密码？</a>
                        </li>
                        <li class="clearfix"></li>
                    </ul>
                </form>
            </div>
        </div>
        </div>
    </div>
</section>
<script src="__STATIC__/layui/layui.js"></script>
<script>
    function changeCode(event) {
        event.target.src="{:captcha_src()}"
    }
</script>
</body>
<!-- //Body -->
</html>
